package com.mindskip.xzs.service;

import com.mindskip.xzs.domain.WxSafetyRainingRecord;
import com.mindskip.xzs.viewmodel.wx.student.user.WxSafetyRainingRecordUpdateVM;

/**
 * @Author zhangshunan
 * @Date 2021/11/25
 */
public interface WxSafetyRainingRecordService extends BaseService<WxSafetyRainingRecord>{

    void add(WxSafetyRainingRecordUpdateVM model);

    /**
     * 手机号查询一条最新记录
     * @param phone
     * @return
     */
    WxSafetyRainingRecord getOneRecordByPhone(String phone);
}
